<script setup lang="ts">
import { IconPath } from '@/common/constants'
</script>

<template>
  <view class="to-top">
    <image class="to-top-icon" :src="IconPath.TO_TOP" mode="scaleToFill" />
  </view>
</template>

<style scoped lang="scss">
.to-top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30rpx;
  background-color: $color-white;
  border-radius: 50%;
  box-shadow: $shadow-raised-1;

  &-icon {
    width: 50rpx;
    height: 50rpx;
  }
}
</style>
